<:!:/>

@file s.switchgroup.html
@author Alejandro Dario Simi
@date $Date: 2013-05-24 23:14:00 +0000 (Fri, 24 May 2013) $

$Id: s.switchgroup.html 66 2013-05-24 23:14:00Z daemonraco@gmail.com $
$URL: http://wcomix.googlecode.com/svn/tags/wcomix-1.0/themes/default/templates/simplecontainer/s.switchgroup.html $

<::/><script type="text/javascript">
	function SwitchGroup() {
		document.location.href = "?group=" + $("#GROUP").val();
	}

	wcSimpleContainer.whenOpened(function(window){
		window.title("Switch Group");
		$("#GROUP").focus();
	});
</script>

<form id="EditForm" action="#" method="POST" onSubmit="SwitchGroup();return false;">
	<table><tr>
		<td class="Label"><label for="GROUP">Group:</label></td>
		<td class="Value"><select id="GROUP">
			<:OVER:list=GROUPS:/><option value="<:VAR:/>id<::/>"<:IF:var=id:to=GROUP-ID:/> selected="selected"<::/>><:VAR:/>name<::/></option>
			<::/>
		</select></td>
	</tr><tr>
		<td colspan="2" class="Buttons">
			<input type="submit" value="Switch"/>
			<input type="submit" value="Cancel" onclick="wcSimpleContainer.close();return false;"/>
		</td>
	</tr><tr>
		<td colspan="2" id="WARNING" class="WarningMessage"></td>
	</tr></table>
</form>
